/*
 * Copyright 2011-2020 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0.
 * See `LICENSE` in the project root for license information.
 */

package me.ijleex.mgmt.system.uploadfile.mapper;

import org.apache.ibatis.annotations.Mapper;

import me.ijleex.mgmt.framework.mybatis.mapper.MyBatisMapper;
import me.ijleex.mgmt.system.uploadfile.entity.UploadFile;

/**
 * 上传文件 数据层
 *
 * @author liym
 * @since 2019-10-30 20:48:22 By 'codegen'
 */
@Mapper
public interface UploadFileMapper extends MyBatisMapper<UploadFile> {

    /**
     * 查询
     *
     * @param partPath 本地文件路径，如 /6g/9d/rYarzNMZKljxRpqwWypzVNbvJ.jpg
     * @return 上传文件信息
     * @since 2019-12-06 11:33
     */
    UploadFile selectByPath(String partPath);

}
